Skip to content

Conversation

QuietMisdreavus
Copy link
Contributor

@QuietMisdreavus QuietMisdreavus commented Sep 15, 2025

Bug/issue #, if applicable: rdar://129338238, resolves #97

Summary

This PR adds a sameShape kind to SymbolGraph.Symbol.Swift.GenericConstraint.Kind, used in situations where parameter packs need to be of the same "shape" (usually length, but also sometimes used for type similarities too, from what i can tell).

Dependencies

This will break Swift-DocC's build, and requires a separate PR there to avoid breaking the toolchain build: swiftlang/swift-docc#1290

Testing

End-to-end testing requires the matching Swift-DocC PR, so testing instructions here are limited to unit tests.

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • Added tests
  • Ran the ./bin/test script and it succeeded
  • Updated documentation if necessary

@QuietMisdreavus
Copy link
Contributor Author

@swift-ci Please test

@QuietMisdreavus
Copy link
Contributor Author

For completeness, in case anyone is watching just this PR, i'm holding off merging this one until swiftlang/swift-docc#1290 is fully approved, since merging this will break DocC's build otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DocC cannot generate documentation for tuple containing multiple parameter packs.

2 participants